import { commonRequest } from '@/api/commonHttp';

// 价格管理周期 - 列表查询
export const queryPriceCycleToDoListService = (data, loadingFn) => commonRequest({
  url: '/sysback/product/priceManagementCycle/toDoMainList/search',
  type: 'post',
  data,
  loadingFn
});
// 价格管理周期 - 供货明细查询
export const queryPriceCycleToDoDetailService = (data, loadingFn) => commonRequest({
  url: '/sysback/product/priceManagementCycle/toDoSubList/search',
  type: 'post',
  data,
  loadingFn
});
// 价格管理周期 - 处理
export const handleProcessPriceCycleService = (data, loadingFn) => commonRequest({
  url: '/sysback/product/priceManagementCycle/toDoMainList/process',
  type: 'post',
  data,
  loadingFn
});
// 价格管理周期 - 审核
export const handleApprovePriceCycleService = (data, loadingFn) => commonRequest({
  url: '/sysback/product/priceManagementCycle/toDoMainList/approve',
  type: 'post',
  data,
  loadingFn
});
